#ifndef CLIENTCONFIG_H
#define CLIENTCONFIG_H

#include <QWidget>
#include <QDialog>
#include"fileoperation.h"
namespace Ui {
class clientconfig;
}

class clientconfig : public QDialog
{
    Q_OBJECT

public:
    explicit clientconfig(QDialog *parent = 0);
    ~clientconfig();
     fileConfig cl_cfg;
protected:
     void mouseMoveEvent(QMouseEvent *event);
     void mousePressEvent(QMouseEvent *event);
     void mouseReleaseEvent(QMouseEvent*);
private:
    Ui::clientconfig *ui;
    QPoint mousePoint; // 记录鼠标坐标
    bool mouse_press;  // 记录是否聚焦
signals:
    // 定义信号函数
    void sendUserPwd(QString, QString);
};

#endif // CLIENTCONFIG_H
